<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductFeedback/1.0/Runtime/GetProductFeedbackSnapshot/" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductFeedback/1.0/Runtime/GetProductFeedbackSnapshot/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:8731/Spencer/ProductFeedback/ProductFeedbackRuntime.svc?xsd=xsd3" namespace="http://schemas.jtleigh.com/Commerce/Spencer/Core/1.0/" />
  <xs:import schemaLocation="http://localhost:8731/Spencer/ProductFeedback/ProductFeedbackRuntime.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost:8731/Spencer/ProductFeedback/ProductFeedbackRuntime.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="GetProductFeedbackSnapshotReq">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.jtleigh.com/Commerce/Spencer/Core/1.0/" base="q1:RequestBase">
        <xs:sequence>
          <xs:element name="ProductId" nillable="true" type="q1:FullyQualifiedProductId" />
          <xs:element name="SelectionBehaviorName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GetProductFeedbackSnapshotReq" nillable="true" type="tns:GetProductFeedbackSnapshotReq" />
  <xs:complexType name="GetProductFeedbackSnapshotRes">
    <xs:sequence>
      <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="RatingAttributes" nillable="true" type="q2:ArrayOfKeyValueOfguidProductRatingAttributeKeAIeE9N" />
      <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="RecommendationAttributes" nillable="true" type="q3:ArrayOfKeyValueOfguidProductRecommendationAttributeKeAIeE9N" />
      <xs:element name="Snapshot" nillable="true" type="tns:ProductFeedbackSnapshot" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetProductFeedbackSnapshotRes" nillable="true" type="tns:GetProductFeedbackSnapshotRes" />
  <xs:complexType name="ProductRatingAttribute">
    <xs:sequence>
      <xs:element name="AttributeId" type="ser:guid" />
      <xs:element name="DisplayOrder" type="xs:int" />
      <xs:element name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ProductRatingAttribute" nillable="true" type="tns:ProductRatingAttribute" />
  <xs:complexType name="ProductRecommendationAttribute">
    <xs:sequence>
      <xs:element name="AttributeId" type="ser:guid" />
      <xs:element name="DisplayOrder" type="xs:int" />
      <xs:element name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ProductRecommendationAttribute" nillable="true" type="tns:ProductRecommendationAttribute" />
  <xs:complexType name="ProductFeedbackSnapshot">
    <xs:sequence>
      <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="AverageRatingAttributeValues" nillable="true" type="q4:ArrayOfKeyValueOfguiddouble" />
      <xs:element minOccurs="0" name="AverageRatingValue" nillable="true" type="xs:double" />
      <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="PositiveRecommendationAttributeValues" nillable="true" type="q5:ArrayOfKeyValueOfguidint" />
      <xs:element name="PositiveRecommendations" type="xs:int" />
      <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="RatingValueBreakdown" nillable="true" type="q6:ArrayOfKeyValueOfunsignedByteint" />
      <xs:element name="TotalRatings" type="xs:int" />
      <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="TotalRecommendationAttributeValues" nillable="true" type="q7:ArrayOfKeyValueOfguidint" />
      <xs:element name="TotalRecommendations" type="xs:int" />
      <xs:element name="TotalReviews" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ProductFeedbackSnapshot" nillable="true" type="tns:ProductFeedbackSnapshot" />
</xs:schema>